ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / BTLE functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the current status of the connection to a Bluetooth Low Energy device or asks to be notified when the connection status changes.
Remark: Bluetooth functions are not available in the Android emulator.
Example
myDevice is btleDevice
myDevice.Connect()
...
SWITCH myDevice.ConnectionStatus()
CASE btleStatusConnected
// Process
OTHER CASE
...
END
Syntax

Finding out the current connection status Hide the details

<Result> = <Device>.ConnectionStatus()
<Result>: Integer constant
Connection status:
btleStatusConnectedThe device is connected to the specified Bluetooth device.
btleStatusDisconnectedThe device is not connected to the specified Bluetooth device.
<Device>: btleDevice variable
Name of the btleDevice variable corresponding to the device to use.
Remarks


Necessary versions
Component: wd290com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/27/2023

Send a report | Local help